extend ../layout
block append css
    link(rel="stylesheet" href="/duimen/css/sign-form.css")
    style body{background-color:#f7f7f7;padding-top:.88rem;}
    header.header
        a.backBtn(href="javascript:window.history.go(-1);")
        span 报名信息填写
    form.write-msg
        script#tpl_write-msg(type="text/html").
            {{each result as item i}}
                {{if item.itemType==1}}
                    <div class="msg-detail msg-radio">
                        <span class="m-title">{{item.itemTip}}</span>
                        <span class="m-right">
                            {{each item.itemOptionValue.split(',') as child i}}
                                <span class="m-cb">
                                    <input type="radio" name="{{item.itemIdentify}}" value="{{child}}">
                                    <i></i>
                                    {{child}}
                                </span>
                            {{/each}}
                        </span>
                    </div>
                {{else if item.itemType==0}}
                    <div class="msg-detail msg-text">
                        <span class="m-title">{{item.itemTip}}</span>
                        <input type="text" name="{{item.itemIdentify}}">
                        <i></i>
                    </div>
                {{/if}}
            {{/each}}
    a.write-btn.disabled(href="#") 提交
block append js
    script(src='/duimen/js/alertBox.js')
    script(src='/duimen/js/signForm.js')



